package com.ruoyi.yuangong.service;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.mainDoMain.benzhoupaihang;
import com.ruoyi.mainDoMain.riyingyee;
import com.ruoyi.mainDoMain.yueyingyee;
import com.ruoyi.yuangong.domain.Vpaiban;
import com.ruoyi.yuangong.domain.dayinjilu;

import java.util.List;

/**
 * qiandaoService接口
 *
 * @author ruoyi
 * @date 2023-11-08
 */
public interface IVpaibanService {
    /**
     * 查询qiandao
     *
     * @param username qiandao主键
     * @return qiandao
     */
    Vpaiban selectVpaibanByUsername(String username);

    /**
     * 查询qiandao列表
     *
     * @param vpaiban qiandao
     * @return qiandao集合
     */
    List<Vpaiban> selectVpaibanList(Vpaiban vpaiban);

    /**
     * 新增qiandao
     *
     * @param vpaiban qiandao
     * @return 结果
     */
    int insertVpaiban(Vpaiban vpaiban);

    /**
     * 修改qiandao
     *
     * @param vpaiban qiandao
     * @return 结果
     */
    int updateVpaiban(Vpaiban vpaiban);

    /**
     * 批量删除qiandao
     *
     * @param usernames 需要删除的qiandao主键集合
     * @return 结果
     */
    int deleteVpaibanByUsernames(String usernames);

    /**
     * 删除qiandao信息
     *
     * @param username qiandao主键
     * @return 结果
     */
    int deleteVpaibanByUsername(String username);

    List<yueyingyee> selectYueYingYeE(String format);

    List<riyingyee> selectRiYingYeE(String before, String format, String name);

    List<benzhoupaihang> selectBenZhouPaiHang(String today);

    List<SysUser> selectSysUserList();

    String ContainOpenID(String openid);

    Integer insertMiniapp(long uid, String openid);

    int updateMiniapp(long uid, String openid);

    int insertPrintLog(dayinjilu dayinjilu);
}
